﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--#include file="utf-8.asp"-->
<!--#include file="conn.asp"-->
<!--#include file="Include.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>创意产业园</title>
<link href="images/style.css" rel="stylesheet" type="text/css"/>
<script src="images/js.js" type="text/ecmascript"></script>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
    function submit() {
        if ($(".username").val() == "") {
            alert("请输入用户名");
            return;
        }

        if ($(".password").val() == "") {
            alert("请输入密码");
            return;
        }

        if ($(".password_confirm").val() == "") {
            alert("请输入确认密码");
            return;
        }

        if ($(".password_confirm").val() != $(".password").val()) {
            alert("两次密码输入不一样");
            return;
        }

        if ($(".email").val() == "") {
            alert("请输入邮箱");
            return;
        }

        if ($(".companyname").val() == "") {
            alert("请输入公司名");
            return;
        }

        if ($(".phone").val() == "") {
            alert("请输入电话号码");
            return;
        }

        if ($(".address").val() == "") {
            alert("请输入地址");
            return;
        }

        if ($(".confirm").attr("checked") != "checked") {
            alert("请阅读《顺德创意产业园服务协议》");
            return;
        }

        $('form').submit();
    }
</script>
</head>
<body>
<div id="all">
    <!--#include file="header.asp"-->
    <div class="Regist">
        <div class="Content">
        	<form action="regist_pass.asp" name="logins" id="logins">
		        <span class="lbl_username">用户名：</span><input class="username" type="text" name="user_name"/>
                <span class="lbl_password">密码：</span><input class="password" type="password" name="user_pass"/>
		        <span class="lbl_password_confirm">确认密码：</span><input class="password_confirm" type="password" name="password_confirm"/>
                <span class="lbl_email">电子邮箱：</span><input class="email" type="text" name="Email"/>
                <span class="lbl_companyname">公司名：</span><input class="companyname" type="text" name="CompanyName"/>
		        <span class="lbl_phone">电话号码：</span><input class="phone" type="text" name="Phone"/>
		        <span class="lbl_fax">传真：</span><input class="fax" type="text" name="Fax"/>
                <span class="lbl_address">地址：</span><input class="address" type="text" name="address"/>
		        <div class="check"><input type="checkbox" class="confirm"/><span>我已看过并同意<a href="#">《顺德创意产业园服务协议》</a></span>
		        </div>
		        <a class="regist" href="#" onclick="submit();"></a>
		        <a class="login" href="/login.asp"></a>
	    	</form>
        </div>
    </div>
    <!--#include file="bottom.asp"-->
</div>
</body>
</html>
